<!doctype html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <title>卖家中心 - {$CONF['mallTitle']}</title>
      <meta name="keywords" content="{$CONF['mallKeywords']}" />
        <meta name="description" content="{$CONF['mallDesc']},卖家中心" />
      <meta http-equiv="Expires" content="0">
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Cache-control" content="no-cache">
    <meta http-equiv="Cache" content="no-cache">
      <link rel="stylesheet" href="__CSS__/common.css" />
      <link rel="stylesheet" href="__CSS__/shop.css">
      <link rel="stylesheet" type="text/css" href="__PUBLIC__/plugins/webuploader/webuploader.css" />
      <style type="text/css">

      .wst-nav-box  .login-out{
          width: auto;
          background: none;
          display: inline-block;
          text-align: center;
          float: right;
        }
        .liselect{
          color:#FFFFFF;
          display: inline-block;
          float: left;
        }
      </style>
        <script src="__PUBLIC__/js/jquery.min.js"></script>
        <script src="__PUBLIC__/plugins/lazyload/jquery.lazyload.min.js?v=1.9.1"></script>
        <script>
    var publicurl = '__PUBLIC__/';
    var shopId = '{$orderInfo["order"]["shopId"]}';
    var pageCount='{$receiveOrders["totalPage"]}';
    var current='{$receiveOrders["currPage"]}';
      $(function() {
      $('.lazyImg').lazyload({ effect: "fadeIn",failurelimit : 10,threshold: 200,placeholder:currDefaultImg});
    });
    </script>
        <script src="__PUBLIC__/js/jquery.min.js"></script>
        <script>
            var publicurl = '__PUBLIC__/';
            var shopId = '{$orderInfo["order"]["shopId"]}';
            var pageCount='{$receiveOrders["totalPage"]}';
            var current='{$receiveOrders["currPage"]}';
            var ThinkPHP = window.Think = {
                "ROOT"   : "__ROOT__",
                "APP"    : "__APP__",
                "PUBLIC" : "__PUBLIC__",
                "DEEP"   : "{:C('URL_PATHINFO_DEPR')}",
                "MODEL"  : ["{:C('URL_MODEL')}", "{:C('URL_CASE_INSENSITIVE')}", "{:C('URL_HTML_SUFFIX')}"],
                "VAR"    : ["{:C('VAR_MODULE')}", "{:C('VAR_CONTROLLER')}", "{:C('VAR_ACTION')}"]
            }
        </script>
        <script src="__PUBLIC__/js/think.js"></script>
    {:WSTLoginTarget(1)}
    </head>
    <body>
        <div class="wst-wrap">
          <div class='wst-header'>
      <div class='wst-user-top' style="display: none;">
      <div class="wst-user-top-main">
          <div class='wst-user-top-logo'>
            <a href="{:WSTDomain()}"  title='商城首页'>
            <img src="{:WSTDomain()}/{$CONF['mallLogo']}" height="132" width='240'/>
            </a>
          </div>
          <div class='wst-user-top-search'>
            <div class="search-box">
              <input id="wst-search-type" type="hidden" value="1"/>
              <input id="keyword" class="wst-search-ipt" me="q" tabindex="9" placeholder="搜索 商品" autocomplete="off" >
              <div id="btnsch" class="wst-search-btn">搜&nbsp;索</div>
            </div>
          </div>

        </div>
      </div>
      <div class="wst-shop-nav">
        <div class="wst-nav-box">
          <li class="liselect shops"><a href="{:U('Home/Shops/index')}" >我是卖家</a></li>
          <div class="wst-clear"></div>
        </div>
      </div>
      <li class="fore1 login-out" id="loginbar" >


          <span>
            <if condition="!$WST_USER['userId']">
            <a href="{:U('Home/Users/login')}">[登录]</a>
            <a href="{:U('Home/Users/regist')}" class="link-regist">[免费注册]</a>
            </if>
            <if condition="$WST_USER['userId'] gt 0">
            <a href="javascript:logout();">[退出]</a>
            </if>
          </span>
          </li>
      <div class="wst-clear;"></div>
    </div>
          <div class='wst-nav'></div>
          <div class='wst-main'>
            <div class='wst-menu'>


        <span class='wst-menu-title'><span></span>交易管理</span>
                <div <if condition="$selected_menu == 1">style="display:block;"<else/>style="display:none;"</if>>
        <a href='{:U("Home/Orders/toShopOrdersList")}' onclick="createCookie('menu','1');"><li id='li_toShopOrdersList' <if condition='$umark eq "toShopOrdersList"'> class='liselect'</if>>订单管理<span style="display:none;" class="wst-msg-tips-box"></span></li></a>
                <a href='{:U("Home/Orders/toShopGroupOrders")}' onclick="createCookie('menu','1');"><li id='li_toShopGroupOrders' <if condition='$umark eq "toShopGroupOrders"'> class='liselect'</if>>团购活动<span style="display:none;" class="wst-msg-tips-box"></span></li></a>
                <a href='{:U("Home/Orders/toShopSeckillOrders")}' onclick="createCookie('menu','1');"><li id='li_toShopSeckillOrders' <if condition='$umark eq "toShopSeckillOrders"'> class='liselect'</if>>秒杀活动<span style="display:none;" class="wst-msg-tips-box"></span></li></a>
                </div>
                <!--
        <span class='wst-menu-title'><span></span>拍卖管理</span>
                <div <if condition="$selected_menu == 2">style="display:block;"<else/>style="display:none;"</if>>
        <a href="{:U('Home/Goods/queryPassGoodsByPage/')}" onclick="createCookie('menu','2');"><li <if condition='$umark eq "queryPassGoodsByPage"'> class='liselect'</if>>新增拍卖</li></a>
                <a href='{:U("Home/Orders/toShopAuctionOrders")}' onclick="createCookie('menu','2');"><li id='li_toShopAuctionOrders' <if condition='$umark eq "toShopAuctionOrders"'> class='liselect'</if>>拍卖活动<span style="display:none;" class="wst-msg-tips-box"></span></li></a>
                <a href='{:U("Home/Orders/toShopAuctionOrdersList")}' onclick="createCookie('menu','2');"><li id='li_toShopAuctionOrdersList' <if condition='$umark eq "toShopAuctionOrdersList"'> class='liselect'</if>>拍卖订单<span style="display:none;" class="wst-msg-tips-box"></span></li></a>
        </div>
        -->

                <span class='wst-menu-title'><span></span>售后管理</span>
                <div <if condition="$selected_menu == 9">style="display:block;"<else/>style="display:none;"</if>>
                <!--
                <a href="{:U('Home/Refund/refundList')}"><li <if condition='$umark eq "refundList"'> class='liselect'</if>>退款信息</li></a>-->
                <a href="{:U('Home/Complain/index')}" onclick="createCookie('menu','9');"><li <if condition='$umark eq "complain"'> class='liselect'</if>>投诉信息</li></a>
                <!--
                <a href="{:U('Home/GoodsSun/index')}"><li <if condition='$umark eq "goodsSun"'> class='liselect'</if>>评价信息</li></a>-->
                </div>


                <span class='wst-menu-title' ><span></span>商品管理</span>
                <div <if condition="$selected_menu == 3">style="display:block;"<else/>style="display:none;"</if>>
        <a href="{:U('Home/ShopsCats/index/')}" onclick="createCookie('menu','3');"><li <if condition='$umark eq "index"'> class='liselect'</if>>商品分类</li></a>
                <a href="{:U('Home/Goods/queryOnSaleByPage/')}" onclick="createCookie('menu','3');"><li <if condition='$umark eq "queryOnSaleByPage"'> class='liselect'</if>>出售中的商品</li></a>
                <a href="{:U('Home/Goods/queryPenddingByPage/')}" onclick="createCookie('menu','3');"><li <if condition='$umark eq "queryPenddingByPage"'> class='liselect'</if>>待审核商品</li></a>
                <a href="{:U('Home/Goods/queryUnSaleByPage/')}" onclick="createCookie('menu','3');"><li <if condition='$umark eq "queryUnSaleByPage"'> class='liselect'</if>>仓库中的商品</li></a>
                <a href="{:U('Home/Goods/toEdit/',array('umark'=>'toEditGoods'))}" onclick="createCookie('menu','3');"><li <if condition='$umark eq "toEditGoods"'> class='liselect'</if>>新增商品</li></a>
                <a href="{:U('Home/GoodsAppraises/index/')}" onclick="createCookie('menu','3');"><li <if condition='$umark eq "GoodsAppraises"'> class='liselect'</if>>评价管理</li></a>
                <!--<a href="{:U('Home/Share/shopShare/')}" onclick="createCookie('menu','3');"><li <if condition='$umark eq "goodsShare"'> class='liselect'</if>>晒单审核</li></a>-->
                <!--<a href="{:U('Home/circle/index/')}" onclick="createCookie('menu','3');"><li <if condition='$umark eq "Circle"'> class='liselect'</if>>圈子管理</li></a>-->
                <a href="{:U('Home/AttributeCats/index')}" onclick="createCookie('menu','3');"><li <if condition='$umark eq "AttributeCats"'> class='liselect'</if>>商品类型</li></a>
                <a href="{:U('Home/Imports/index')}" onclick="createCookie('menu','3');"><li <if condition='$umark eq "Imports"'> class='liselect'</if>>数据导入</li></a>
        </div>

        <!--
          <span class="wst-menu-title"><span></span>云购管理</span>
                <div <if condition="$selected_menu == 4">style="display:block;"<else/>style="display:none;"</if>>
        <a href="{:U('Home/Goods/yungoods')}" onclick="createCookie('menu','4');"><li <if condition='ACTION_NAME eq "yungoods" OR ACTION_NAME eq "yunedit"'> class='liselect'</if>>商品管理</li></a>
                <a href="{:U('Home/Goods/addgoods')}" onclick="createCookie('menu','4');"><li <if condition='ACTION_NAME eq "addgoods"'> class='liselect'</if>>新增商品</li></a>
        <a href="{:U('Home/Goods/yunorder')}" onclick="createCookie('menu','4');"><li <if condition='$sng eq "def"'> class='liselect'</if>>订单列表</li></a>
        <a href="{:U('Home/Goods/yunorder',array('sng' => 'zj'))}" onclick="createCookie('menu','4');"><li <if condition='$sng eq "zj"'> class='liselect'</if>>中奖订单</li></a>
        <a href="{:U('Home/Goods/yunorder',array('sng' => 'notsend'))}" onclick="createCookie('menu','4');"><li <if condition='$sng eq "notsend"'> class='liselect'</if>>等待发货订单</li></a>
        <a href="{:U('Home/Goods/yunorder',array('sng' => 'sendok'))}" onclick="createCookie('menu','4');"><li <if condition='$sng eq "sendok"'> class='liselect'</if>>已发货订单</li></a>
        <a href="{:U('Home/Goods/yunorder',array('sng' => 'ok'))}" onclick="createCookie('menu','4');"><li <if condition='$sng eq "ok"'> class='liselect'</if>>已完成订单</li></a>
        </div>
        -->

                <span class='wst-menu-title'><span></span>网店设置</span>
                <div <if condition="$selected_menu == 7">style="display:block;"<else/>style="display:none;"</if>>
        <a href="{:U('Home/Apply/shopsIndex')}" onclick="createCookie('menu','7');"><li <if condition='$umark eq "shopsIndex"'> class='liselect'</if>>提现管理</li></a>
              <a href="{:U('Home/Shops/toEdit/')}" onclick="createCookie('menu','7');"><li <if condition='$umark eq "toEdit"'> class='liselect'</if>>店铺资料</li></a>
                <a href="{:U('Home/Shops/toShopCfg/')}" onclick="createCookie('menu','7');"><li <if condition='$umark eq "setShop"'> class='liselect'</if>>店铺设置</li></a>
                <a href="{:U('Home/Messages/queryByPage/')}" onclick="createCookie('menu','7');"><li id='li_queryMessageByPage' <if condition='$umark eq "queryMessageByPage"'> class='liselect'</if>>商城消息<span style="display:none;" class="wst-msg-tips-box"></span></li></a>
                <a href="{:U('Home/Shops/toEditPass')}" onclick="createCookie('menu','7');"><li <if condition='$umark eq "toEditPass"'> class='liselect'</if>>修改密码</li></a>
                <a style="display: none;" href="{:U('Home/Express/index')}" onclick="createCookie('menu','7');"><li <if condition='$umark eq "express"'> class='liselect'</if>>物流管理</li></a>
        </div>
                <span class='wst-menu-title' ><span></span>优惠活动</span>
                  <div <if condition="$selected_menu == 8">style="display:block;"<else/>style="display:none;"</if>>
          <a href="{:U('Home/Youhui/shopindex')}" onclick="createCookie('menu','8');"><li <if condition='$umark eq "youhuilist"'> class='liselect'</if>>优惠券列表</li></a>
                  <a href="{:U('Home/Youhui/shoprecord')}" onclick="createCookie('menu','8');"><li <if condition='$umark eq "youhuiused"'> class='liselect'</if>>已使用优惠券列表</li></a>
                  <a style="display: none;" href="{:U('Home/Ggk/shoplist')}" onclick="createCookie('menu','8');"><li <if condition='$umark eq "ggkshoplist"'> class='liselect'</if>>刮刮卡列表</li></a>
                  <a style="display: none;" href="{:U('Home/Ggk/checksnlist')}" onclick="createCookie('menu','8');"><li <if condition='$umark eq "ggkchecksnlist"'> class='liselect'</if>>刮刮卡中奖码查询</li></a>
          </div>


      </div>


            <div class='wst-content'>
            <block name="content"><div class="result">卖家中心</div></block>
            </div>
          </div>
          <div style='clear:both;'></div>
          <br/>
        </div>
    </body>
        <script src="__PUBLIC__/plugins/formValidator/formValidator-4.1.3.js"></script>
      <script src="__PUBLIC__/js/common.js"></script>
        <script src="__JS__/shopcom.js"></script>
        <script src="__JS__/head.js"></script>
        <script src="__JS__/common.js"></script>
        <script src="__PUBLIC__/plugins/layer/layer.min.js"></script>
    <script type="text/javascript">
      $(function(){
        <if condition="!$selected_menu">
          $('.wst-menu-title').next('div').eq(0).slideDown();
        </if>
        $('.wst-menu-title').click(function(){
          if($(this).next('div').css('display') == 'block') {$(this).next('div').slideUp();return;}
          $('.wst-menu-title').next('div').slideUp();
          $(this).next('div').slideDown();
        });
      });
    </script>
    <style>.wst-menu-title{cursor:pointer;}</style>
</html>
